import { createRouter, createWebHashHistory,createWebHistory } from "vue-router";
import routes from "@/router/routes";


const router=createRouter({
    history:createWebHistory(),
    routes
});



router.beforeEach(async (to, from,next) => {
    next()
})
export default router